package com.school.repair.dao;

import com.school.repair.entity.BaoXiuDan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaoXiuDanDao {
    List<BaoXiuDan> baoXiuDanLimit(@Param("pageNo") int page, @Param("pageSize") int pageSize, @Param("id") long id);

    List<BaoXiuDan> baoXiuDansOfRepairMan(@Param("pageNo") int page, @Param("pageSize") int pageSize, @Param("id") long id);

    int total(@Param("id") long id);

    int totalByRepairMan(@Param("id") long id);

    int add(BaoXiuDan baoxiudan);

    int update(@Param("id") long id, @Param("repairres") String repairres, @Param("fee") double fee);
}
